home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
win_utl2
/
stil19u1.zip
/
CDD.TXT
< prev
next >
Wrap
Text File
|
1996-01-24
|
1KB
|
30 lines
Cdd is a directory changer you may find handy when working with drag/drop.
The command
cdd path
changes to the drive and directory specified by path (Dos cd does not
handle drive changes). If path is a file name, cdd will change to
the directory containing the file. For example,
cdd d:\test\myfile.txt
changes to drive d:, directory test (assuming myfile.txt is a file).
You can use cdd to quickly virus check the contents of zipped files.
First, unzip files from File Manager, eg by putting the zip in a temporary
directory and then double clicking on it. (Associate .zip with
a pif which runs pkunzip.exe in a window). Then drag/drop any file
from the unzipped package onto a button which you have configured to run
a virus scanner as follows.
Create a pif file containing the command c:\ut\b\checkvir.bat.
The batch file checkvir.bat contains these commands:
cdd %1
c:\f-prot\f-prot *.*
Assign this pif file to a Stiletto button. Now drag/drop any file
from the zipped package onto the button, and the virus checker -- f-prot
-- gets run on the directory containing the file.
The files cdd.exe and cdd.txt are in the public domain.